AddComponent<TComponent, TStorage>()

Method

Namespace: Ignis

Declared in: Ignis.IContainer<TState>


Registers a component type with the specified storage type.

Syntax

public IContainer<TState> AddComponent<TComponent, TStorage>()

Type parameters

TComponent

Component type

TStorage

Storage type

See also

  • Ignis.Storage.DoubleListStorage<T>
  • Ignis.Storage.ListOfPairsStorage<T>
  • Ignis.Storage.NullStorage<T>

  • Back to index